/*
*******************************************************************************
*                              (c) Copyright HighSun Techonology Company
*                                           All Rights Reserved
*
* File    : 2833x_debug.c
* By      : HuangXi
* Version : V0.1
* Datetime: 2012-01-20 PM 22:36
* Description: For  Debug 
*******************************************************************************
*/

#include <includes.h>
#include "DSP2833x_GlobalPrototypes.h"

#define DEBUG_PRINT 1 



/* For debug output */
void  debug_print (char *format, ...)
{
    #if (DEBUG_PRINT > 0)
        char  buffer[128u + 1u];
        va_list   vArgs;


        va_start(vArgs, format);
        vsprintf((char *)buffer, (char const *)format, vArgs);
        va_end(vArgs);

        scic_msg((char *) buffer);

   #endif
}



